<%-- 
    Document   : book_list_page
    Created on : Mar 25, 2012, 7:49:47 PM
    Author     : Don
--%>
?<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@page language="java" import="java.util.*" %>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Untitled 1</title>
<link href="CSS/generic_home.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../src/java/jquery-1.7.1.js">
</script>


</head>

<body>
<div id="header_container" style="height: 73px">

		<div id ="form_container" style="height: 539px; left: 8px; top: 13px;">
			<div style="height: 59px">
				FOOBAR<div id="foobar_title" style="font-size: 37pt; position: absolute; width: 153px; height: 62px; z-index: 1; right: -6px; top: 13px;">
				<a href="generic_login.jsp" style="text-decoration:none; color: #628797;">LOGIN</a></div>
			</div>
			
			<div style=" color: #FFFFFF; height: 78px; background-color: #628797; width: 863px; text-indent: -3px; line-height: 13mm;" class="auto-style1">
				BOOKSHOP
				
			<div id="register_text"  style="position: absolute; width: 228px; height: 50px; z-index: 2; right: -78px; top: 52px; font-size: 30pt;">
				<a href="register.jsp" style="text-decoration:none; color: #FFFFFF;">REGISTER</a></div>
				
			<div id="search_area" style="font-size: 12pt; position: absolute; width: 548px; height: 42px; z-index: 3; left: 409px; top: 99px; right: -94px;">
							 <form method="post" action=""> 	
					search   <input name="search_input" type="text" /> 
					category <select name="category" style="width: 140px; height: 22px;">
							 <option></option>
							 </select>
							 <input type="image" src="Images/arrow.png" height="28" style="bottom: 0px" width="31" />
							 </form></div>
			</div>
					
			<div id ="choices" style=" height: 54px;">
					<span class="books"><a href="#">BOOKS</a></span>   
					<span class="books"><a href="#">MUSIC</a></span>
					<span class="books"><a href="#">MOVIES</a></span>
					<span class="books"><a href="#">MAGAZINE</a></span>
			</div>
			<div style="height: 290px; background-color: #628797;">
				
                            <table border="1" width="303">
                              <tr>
                                    <td width="119"><b>Title</b></td>
                                    <td width="168"><b>Synopsis</b></td>
                                    <td width="168"><b>Price</b></td>
                                    <td width="168"><b>ProductID</b></td>
                              </tr>
                                <%Iterator itr;%>
                                <% List data= (List)request.getAttribute("data");
                                        for (itr=data.iterator(); itr.hasNext(); )
                                        {
                                %>
                                <tr>
                                        <td width="119"><%=itr.next()%></td>
                                        <td width="168"><%=itr.next()%></td>
                                        <td width="168"><%=itr.next()%></td>
                                        <td width="168"><%=itr.next()%></td>
                                </tr>
                                <%}%>
	</table>
                            
                            
			</div>
			
		</div>
</div>
	
	


</body>

</html>
